const path = require('path')
function resolve(dir) {
  return path.join(__dirname, dir)
}
module.exports = {
  pages: {
    index: {
      entry: ['src/main.js'],
      template: 'public/index.html',
      filename: 'index.html'
    }
  },
  publicPath: './',
  outputDir: 'simple',
  assetsDir: 'static',
  lintOnSave: false,
  productionSourceMap: false,
  chainWebpack: (config) => {
    config.resolve.alias.set('@', resolve('./src'))
  }
}
